using System;

namespace MMS
{
	public class MaterialDTO
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the MaterialDTO class.
		/// </summary>
		public MaterialDTO()
		{
		}

		/// <summary>
		/// Initializes a new instance of the MaterialDTO class.
		/// </summary>
		public MaterialDTO(string name, string unit, string description, int pricebyday)
		{
			this.Name = name;
			this.Unit = unit;
			this.Description = description;
			this.Pricebyday = pricebyday;
		}

		/// <summary>
		/// Initializes a new instance of the MaterialDTO class.
		/// </summary>
		public MaterialDTO(int id, string name, string unit, string description, int pricebyday)
		{
			this.id = id;
			this.name = name;
			this.unit = unit;
			this.description = description;
			this.pricebyday = pricebyday;
		}

		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the Id value.
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// Gets or sets the Name value.
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Gets or sets the Unit value.
		/// </summary>
		public string Unit { get; set; }

		/// <summary>
		/// Gets or sets the Description value.
		/// </summary>
		public string Description { get; set; }

		/// <summary>
		/// Gets or sets the Pricebyday value.
		/// </summary>
		public int Pricebyday { get; set; }

		#endregion
	}
}
